<template>
    <div>
        <button class="home-button" @click="clickButton">{{ name }}</button>
    </div>
</template>

<script>
export default {
    props: {
        name: {
            type: String,
            default: 'Button'
        }
    },
    methods: {
        clickButton(){
            this.$emit('clickBtn',true)
        }
    },
}
</script>

<style lang="scss" scoped>
.home-button {
    width: 100%;
    height: 106px;
    padding: 10px;
    border-radius: 56px;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
    font-size: 30px;
    font-weight: 700;
    border: none;
}
</style>